<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.master" Inherits="System.Web.Mvc.ViewPage<SiteConfiguration>" %>
<%@ Import Namespace="Azure.Domain.Models"%>
<asp:Content ID="indexHeader" ContentPlaceHolderID="HeaderContent" runat="server">
    <link rel="stylesheet" type="text/css" href="<%= ResolveUrl("~/markitup/skins/markitup/style.css") %>" />
    <link rel="stylesheet" type="text/css" href="<%= ResolveUrl("~/markitup/sets/html/style.css") %>" />
    <script type="text/javascript" src="<%= ResolveUrl("~/markitup/jquery.markitup.js")%>"></script>
    <script type="text/javascript" src="<%= ResolveUrl("~/markitup/sets/html/set.js")%>"></script>

</asp:Content>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Administration
</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
<% using(Html.BeginForm(Admin.Configuration, Admin.Controller)) {%>
<%= Html.AntiForgeryToken() %>
<%= Html.Hidden("partitionKey", Model.PartitionKey) %>
<%= Html.Hidden("rowKey", Model.RowKey) %>
<fieldset>
    <label for="name">Site Title</label>
    <input type="text" id="title" name="title" class="required" value="<%= Model.Title%>" />
    
    <label for="name">Site Sub-Title</label>
    <input type="text" id="subTitle" name="subTitle" class="required" value="<%= Model.SubTitle%>" />
    
    <label for="name">Site Owner (name)</label>
    <input type="text" id="owner" name="owner" class="required" value="<%= Model.Owner%>" />
    
    <label for="name">Site Owner (email)</label>
    <input type="text" id="email" name="email" class="required" value="<%= Model.Email%>" />
    
    <label for="name">RSS Feed Url</label>
    <input type="text" id="feedUrl" name="feedUrl" class="required url" value="<%= Model.FeedUrl%>" />
    
    <input type="submit" value="save" />
</fieldset>
<%} %>
</asp:Content>